﻿using System;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;
using UnityEngine;

namespace ProjScan.ScanRule.SceneCheck
{
	// Token: 0x020001B4 RID: 436
	[ScenesCheckRuleAttr]
	internal class Scene_StaticRigidBody : SceneObjRecordRuleImp
	{
		// Token: 0x06000E6E RID: 3694 RVA: 0x00041C84 File Offset: 0x0003FE84
		protected override bool IsOK(SceneObjAssetData assetData)
		{
			bool isStatic = assetData.gameObj.isStatic;
			return !isStatic || assetData.gameObj.GetComponent<Rigidbody>() == null;
		}
	}
}
